package br.com.classesinternasedatas.revisaodatas1;
/*
 * Objetivo: Demonstrar NumberFormat com Locale
 */
import java.util.Locale;
import java.text.NumberFormat;

public class Programa4 {
	public static void main(String[] args) {
		double x = 100.2;
		Locale l = new Locale("us");
		NumberFormat nf = NumberFormat.getCurrencyInstance(l);
		System.out.println(nf.format(x));
	}
}
